import request from '@/utils/request'
export function fetchList(query) {
  return request({
    url: '/mall/smsactivity/page',
    method: 'get',
    params: query
  })
}

export function exportList(query) {
  return request({
    url: '/mall/smsactivity/exportList',
    method: 'get',
    responseType: 'blob',
    params: query
  })
}

export function checkObj(id) {
  return request({
    url: '/mall/smsactivity/checkById/' + id,
    method: 'get'
  })
}
